package com.lonely.goods.domain.dto.log;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: 黄志标
 * @date: 2025/6/24 9:38
 * @description: 添加订单备注请求实体
 */
@Data
public class AddNotesDTO implements Serializable {

    /**
     * 订单ID
     */
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 备注内容
     */
    @NotBlank(message = "备注内容不能为空")
    private String notes;

}
